package com.feihong.txgw.json.kaika;

import java.util.List;

/**
 * Created by Sabirjan on 2017/7/4.
 * TXGWApp.
 * 飞宏电子
 */

public class Menu {


    /**
     * code : 200
     * data : [{"name":"号码类型","type":"type","reqname":"type","items":[{"id":"1","name":"联通4G(BSS)"},{"id":"2","name":null},{"id":"3","name":"联通沃派16/36"}]},{"name":"靓号类型","type":"liangh","reqname":"r_type","items":[{"id":"c_AAA","name":"中间AAA"},{"id":"c_AABB","name":"中间AABB"},{"id":"c_AABBB","name":"中间AABBB"},{"id":"e_AA","name":"尾数AA"},{"id":"e_AAAB","name":"尾数AAAB"},{"id":"e_AABB","name":"尾数AABB"},{"id":"e_ABAB","name":"尾数ABAB"},{"id":"e_ABBA","name":"尾数ABBA"},{"id":"e_ABC","name":"尾数ABC"}]}]
     * msg : 获取成功
     */

    private int code;
    private String msg;
    private List<MenuData> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<MenuData> getData() {
        return data;
    }

    public void setData(List<MenuData> data) {
        this.data = data;
    }

    public static class MenuData {
        /**
         * name : 号码类型
         * type : type
         * reqname : type
         * items : [{"id":"1","name":"联通4G(BSS)"},{"id":"2","name":null},{"id":"3","name":"联通沃派16/36"}]
         */

        private String name;
        private String type;
        private String reqname;
        private List<MenuItem> items;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getReqname() {
            return reqname;
        }

        public void setReqname(String reqname) {
            this.reqname = reqname;
        }

        public List<MenuItem> getItems() {
            return items;
        }

        public void setItems(List<MenuItem> items) {
            this.items = items;
        }

        public static class MenuItem {
            /**
             * id : 1
             * name : 联通4G(BSS)
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
